.class public Lcom/instagram/h/a/e;
.super Ljava/lang/Object;
.source "StarredUtil.java"


# direct methods
.method private static a(Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .parameter

    .prologue
    .line 21
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "instagram_ad_"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public static a(Lcom/instagram/android/model/b/e;Lcom/instagram/j/l;Lcom/instagram/b/d;)V
    .locals 1
    .parameter
    .parameter
    .parameter

    .prologue
    .line 81
    invoke-virtual {p1}, Lcom/instagram/j/l;->b()Lcom/instagram/android/model/b/e;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/instagram/android/model/b/e;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "brand_profile"

    .line 86
    :goto_0
    invoke-static {v0, p1, p2}, Lcom/instagram/h/a/e;->a(Ljava/lang/String;Lcom/instagram/j/l;Lcom/instagram/b/d;)V

    .line 87
    return-void

    .line 81
    :cond_0
    const-string v0, "user_profile"

    goto :goto_0
.end method

.method public static a(Lcom/instagram/j/l;)V
    .locals 4
    .parameter

    .prologue
    .line 32
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v0

    new-instance v1, Lcom/instagram/b/b;

    const-string v2, "invalidation"

    invoke-static {v2}, Lcom/instagram/h/a/e;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    invoke-direct {v1, v2, v3}, Lcom/instagram/b/b;-><init>(Ljava/lang/String;Lcom/instagram/b/d;)V

    const-string v2, "tracking_token"

    invoke-virtual {p0}, Lcom/instagram/j/l;->ae()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v1

    const-string v2, "response"

    const-string v3, "INSTAGRAM_MEDIA_WAS_HIDDEN"

    invoke-virtual {v1, v2, v3}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->a(Lcom/instagram/b/b;)V

    .line 37
    return-void
.end method

.method public static a(Lcom/instagram/j/l;Lcom/instagram/b/d;Ljava/lang/String;)V
    .locals 4
    .parameter
    .parameter
    .parameter

    .prologue
    .line 40
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v0

    new-instance v1, Lcom/instagram/b/b;

    const-string v2, "hide_response"

    invoke-static {v2}, Lcom/instagram/h/a/e;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2, p1}, Lcom/instagram/b/b;-><init>(Ljava/lang/String;Lcom/instagram/b/d;)V

    const-string v2, "tracking_token"

    invoke-virtual {p0}, Lcom/instagram/j/l;->ae()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v1

    const-string v2, "response"

    invoke-virtual {v1, v2, p2}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Lcom/instagram/b/b;)V

    .line 45
    return-void
.end method

.method public static a(Ljava/lang/String;Lcom/instagram/j/l;IJLcom/instagram/b/d;)V
    .locals 4
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 71
    invoke-static {p1, p5}, Lcom/instagram/h/a/e;->a(Lcom/instagram/j/l;Lcom/instagram/b/d;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 72
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v0

    new-instance v1, Lcom/instagram/b/b;

    invoke-static {p0}, Lcom/instagram/h/a/e;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2, p5}, Lcom/instagram/b/b;-><init>(Ljava/lang/String;Lcom/instagram/b/d;)V

    const-string v2, "tracking_token"

    invoke-virtual {p1}, Lcom/instagram/j/l;->ae()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v1

    const-string v2, "m_ix"

    invoke-virtual {v1, v2, p2}, Lcom/instagram/b/b;->a(Ljava/lang/String;I)Lcom/instagram/b/b;

    move-result-object v1

    const-string v2, "tts"

    invoke-virtual {v1, v2, p3, p4}, Lcom/instagram/b/b;->a(Ljava/lang/String;J)Lcom/instagram/b/b;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Lcom/instagram/b/b;)V

    .line 78
    :cond_0
    return-void
.end method

.method public static a(Ljava/lang/String;Lcom/instagram/j/l;Lcom/instagram/b/d;)V
    .locals 4
    .parameter
    .parameter
    .parameter

    .prologue
    .line 48
    invoke-static {p1, p2}, Lcom/instagram/h/a/e;->a(Lcom/instagram/j/l;Lcom/instagram/b/d;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 49
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v0

    new-instance v1, Lcom/instagram/b/b;

    invoke-static {p0}, Lcom/instagram/h/a/e;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2, p2}, Lcom/instagram/b/b;-><init>(Ljava/lang/String;Lcom/instagram/b/d;)V

    const-string v2, "tracking_token"

    invoke-virtual {p1}, Lcom/instagram/j/l;->ae()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Lcom/instagram/b/b;)V

    .line 54
    :cond_0
    return-void
.end method

.method public static a(Lcom/instagram/j/l;Lcom/instagram/b/d;)Z
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 26
    invoke-virtual {p0}, Lcom/instagram/j/l;->Y()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {p1}, Lcom/instagram/b/d;->c_()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method
